﻿using System;
using System.Collections.Generic;

namespace DTcms.Model
{
    /// <summary>
    /// ch_member_order
    /// </summary>
    [Serializable]
	public partial class member_order
	{
	    public member_order()
        { }
        #region Model
		private int _id;
		private string _order_no = string.Empty;
        private int _user_id = 0;
        private int _group_id = 0;
        private decimal _amount = 0M;
        private DateTime _add_time = DateTime.Now;
        private int _payment_id = 0;
        private int _payment_status = 0;
		private DateTime? _payment_time;
		private string _trade_no = string.Empty;
        private string _remark = string.Empty;
        private string _parent_mobile = string.Empty;

      	/// <summary>
		/// id
		/// </summary>
        public int id
        {
            set{ _id = value; }
            get{ return _id; }
        }        
		/// <summary>
		/// order_no
		/// </summary>
        public string order_no
        {
            set{ _order_no = value; }
            get{ return _order_no; }
        }        
		/// <summary>
		/// user_id
		/// </summary>
        public int user_id
        {
            set{ _user_id = value; }
            get{ return _user_id; }
        }        
		/// <summary>
		/// group_id
		/// </summary>
        public int group_id
        {
            set{ _group_id = value; }
            get{ return _group_id; }
        }        
		/// <summary>
		/// amount
		/// </summary>
        public decimal amount
        {
            set{ _amount = value; }
            get{ return _amount; }
        }        
		/// <summary>
		/// add_time
		/// </summary>
        public DateTime add_time
        {
            set{ _add_time = value; }
            get{ return _add_time; }
        }        
		/// <summary>
		/// payment_id
		/// </summary>
        public int payment_id
        {
            set{ _payment_id = value; }
            get{ return _payment_id; }
        }        
		/// <summary>
		/// payment_status
		/// </summary>
        public int payment_status
        {
            set{ _payment_status = value; }
            get{ return _payment_status; }
        }        
		/// <summary>
		/// payment_time
		/// </summary>
        public DateTime? payment_time
        {
            set{ _payment_time = value; }
            get{ return _payment_time; }
        }        
		/// <summary>
		/// trade_no
		/// </summary>
        public string trade_no
        {
            set{ _trade_no = value; }
            get{ return _trade_no; }
        }
        public string remark
        {
            get { return _remark; }
            set { _remark = value; }
        }
        public string parent_mobile
        {
            get { return _parent_mobile; }
            set { _parent_mobile = value; }
        }
		#endregion Model
	}
}